home *** CD-ROM | disk | FTP | other *** search
- /* ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Object List
-
- Defines an Icon List Item.
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */
-
- #ifndef CLASS_COBJECT
- #include "CObject.h"
- #endif
-
- #ifndef CLASS_CITEMOBJ
- #include "CItemObj.h"
- #endif
-
- #define CLASS_CICONITEMOBJ
-
- /* :::::::::: list item object :::::::::: */
- struct CIconItemObj:CItemObj {
- /*** fields... */
- int id; /* icon id number from res file */
- Str255 name; /* icon name from res file */
- Handle bits; /* handle to the icon image */
-
- /*** methods… */
- void DrawItem ( Boolean selected, Rect *dispR ); /* draw the icon item */
- };
-